<template>
	<view id="page_main_id" class=" "></view>
</template>

<script>
import storeMixin from '@/store/storeMixin';
export default {
	mixins: [storeMixin],
	data() {
		return {};
	},
	created() {},
	onLoad(v) {
		this.router_judge();
	},
	onShow() {},
	onHide() {},
	onPageScroll(e) {},
	onPullDownRefresh() {},
	computed: {},
	methods: {
		router_judge(type = 0) {
			let _this = this;
			let data = this.getQueryVariable();
			let page = data['p'] || false;
			let parameter = '';
			let url = '';
			if (_this.objJudge(page)) {
				url = `/h5/${page}`;
				for (let k in data) {
					console.log(k);
					console.log(data[k]);
					if (k == 'p') {
					} else {
						parameter += `&${k}=${data[k]}`;
					}
				}
				if (parameter) {
					url = `/h5/${page}${parameter}`;
				}
				// console.log(url);
				_this.goweburl_f(url);
			}
		},
	},
	watch: {},
};
</script>

<style lang="scss"></style>
